package ${package.Mapper};

import ${package.Entity}.${entity};
import ${superMapperClassPackage};
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* <p>
    * ${table.comment!} Mapper 接口
    * </p>
*
* @author ${author}
* @since ${date}
*/
<#if kotlin>
interface ${table.mapperName} : ${superMapperClass}<${entity}>
<#else>
public interface ${table.mapperName} extends ${superMapperClass}<${entity}> {
/**
* 查询${table.comment!}列表
*
* @param param 条件
* @return 菜单列表
*/
List<${table.entityName}> select${table.entityName}List(${table.entityName} param);

/**
* 删除${table.comment!}
*
* @param ids        id列表
* @param operatorId
* @return row
*/
int delete${table.entityName}(@Param("ids") List
<Long> ids, @Param("operatorId") Long operatorId);

    /**
    * 新增${table.comment!}并返回ID
    *
    * @param param 数据
    * @return row
    */
    int insertAndGetId(${table.entityName} param);
    }
    </#if>
